#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int n=0, i, l;
	int a[80], m[100];
	cout<<"Number of elements : ";
	cin>>l;
	readVector(a, l);
	for (i=0; i<l; i++)
		if(a[i]>0){
			m[n]=a[i];
			++n;	
		}
	i=sumofVector(m, n);
	cout<<i<<"\n";
return 0;
}
